#include <stdio.h>

#define ONE (1 << 1)
#define TWO (1 << 2)
#define THREE (1 << 3)
#define FOUR (1 << 4)


void func(int flag)
{
    if(flag & ONE)
    {
        printf("ONE\n");
    }
    if(flag & TWO)
    {
        printf("TWO\n");
    }
    if(flag & THREE)
    {
        printf("THREE\n");
    }
    if(flag & FOUR)
    {
        printf("FOUR\n");
    }
}

int main()
{
    printf("==============================\n");
    func(ONE);
    printf("==============================\n");
    func(TWO);
    printf("==============================\n");
    func(ONE | TWO | THREE);
    printf("==============================\n");
    func(ONE | TWO | THREE | FOUR);

}
